<script>
    let url = window.location.href.split('/')
    url[2] = 'mere.pt'
    window.location.href = url.join('/')
</script>